package com.cmy.framework_base.common.loading

/**
 * @name:
 *  LoadView
 * @package:
 *  com.cmy.framework_base.basics
 * @date:
 *  2023/4/2109:43
 * @author
 *    cmy
 * @description
 *  加载动画实现效果
 */
interface LoadDialogView {
    /**
     * 显示加载View
     */
     fun showLoadView()
    /**
     * 关闭加载View
     */
     fun dismissLoadView()

    /**
     * 延时关闭加载View
     */
    fun dismissLoadView(delay: Long)

    /**
     * 延时关闭加载View后需要处理的事务
     */
    fun dismissDelayWith(delay: Long, runnable: Runnable?)
}